package com.sypk.controller;

import org.apache.commons.lang3.StringUtils;


public abstract class AbstractController {
	
	protected static int PAGE_SIZE = 10;

	/**
	 * 验证参数是否为空
	 * @param args
	 * @return
	 */
	protected boolean validateParamEmpty(String... args) {
		
	    for(String t : args){
	    	
	        if (StringUtils.isEmpty(t.trim())) {
				
	        	return true;
			}
	    }
		return false;
	}
}
